package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用于向客户端发送谋篇微博对应的评论
 */
@Data
public class CommentVO {
    @ApiModelProperty(value="评论ID",required = true,example="1")
    private Integer id;
    @ApiModelProperty(value="评论内容",required = true,example="这篇微博写的有深度!")
    private String content;
    @ApiModelProperty(value="发表日期",required = true,example="2024/09/16 17:58:21")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8" )
    private Date created;
    @ApiModelProperty(value="用户昵称",required = true,example="阿三")
    private String nickname;
}
